home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of www.BestZips.com (Collector's Edition)
/
Best of WWW.BESTZIPS.COM Collector's Edition (JCSM Shareware) (JCS Marketing).ISO
/
prgtools
/
trapit.zip
/
CNTRPRS.BA_
/
CNTRPRS.BA
Wrap
Text File
|
1996-11-06
|
803b
|
22 lines
Option Explicit
Global giTrapItCentralErrorProcessor As Integer
Function TrapItCentralErrorProcessor (ByVal lsFile As String, ByVal lsProc As String, ByVal lsErr As String, ByVal lsError As String) As Integer
' TODO: modify and test this procedure
' currently it calls the form with three command buttons.
' By pressing one of this buttons the user will decide what to do:
' to terminate, to resume or to resume next
Load frmTrapItCentrl
frmTrapItCentrl.Caption = "Unanticipated error in the file " & lsFile & " !"
frmTrapItCentrl.txtProc = lsProc
frmTrapItCentrl.txtErr = lsErr
frmTrapItCentrl.txtError = lsError
frmTrapItCentrl.Show 1
TrapItCentralErrorProcessor = CInt(frmTrapItCentrl.lblReturn)
Unload frmTrapItCentrl
End Function